#ifndef FILEHELPERS_H
#define FILEHELPERS_H

#include <fstream>
using std::ifstream;


// Read asciiz string from file, returned array is allocated with new[]
char * readAsciizString(FILE *f);
char * readAsciizString(ifstream &fInp);
// Read float value from file
float readFloat(FILE *f);
float readFloat(ifstream &fInp);
// Read byte from file
char readByte( ifstream &fInp );
unsigned int readUint( ifstream &fInp );
// Read 32bit unsigned integer from file
unsigned int readInt(FILE *f);

#endif